<div class="portlet">
  <div class="portlet-header">
    <h1><%=t ".title"%></h1>
  </div>
  <div class="portlet-content">
    <% form_for(@currency) do |f| %>
      <%= f.error_messages %>
      <p>
        <%= f.label :name, t('activerecord.attributes.currency.name') %>
        <%= f.text_field :name %>
      </p>
      <p>
        <%= f.label :symbol, t('activerecord.attributes.currency.symbol') %>
        <%= f.text_field :symbol %>
      </p>
      <p>
        <%= f.label :exchange_rate, t('activerecord.attributes.currency.exchange_rate') %>
        <%= f.text_field :exchange_rate %>
      </p>
      <p>
        <%= f.submit t('btn_update') %>
      </p>
    <% end %>
  </div>
  <div class="portlet-footer">
    <%= link_to t('btn_show'), @currency %> |
    <%= link_to t('btn_back'), currencies_path %>
  </div>
</div>